/******************************************************************************
 * SVN­Version­Information:
 * ­­­­­­­­­­­­­­­­­­­­­­­­---------------------
 * $LastChangedRevision: 133 $
 * $LastChangedBy: MV $
 * $LastChangedDate: 2009-06-25 05:02:32 +0200 (Thu, 25 Jun 2009) $
 * $HeadURL: svn://lvis10.fbm.fht-stuttgart.de/common/Common/src/de/hft_stuttgart/botwar/common/models/ChassisInfo.java $
 ******************************************************************************/
package de.hft_stuttgart.botwar.common.models;

import java.io.Serializable;

/**
 * @author c.a.duevel@gmail.com, pmv-mail@gmx.de
 */
public class ChassisInfo implements Serializable {

    private int LEVEL_RANK,  WEIGHT,  SPEED,  COST;
    private String NAME;

    /**
     * New chassis info.
     * @param levelRank of the chassis
     * @param weight of the chassis item
     * @param speed of the chassis item
     * @param cost of the chassis item
     * @param name of the chassis item
     */
    public ChassisInfo(final int levelRank, final int weight, final int speed,
            final int cost, final String name) {

        this.LEVEL_RANK = levelRank;
        this.WEIGHT = weight;
        this.SPEED = speed;
        this.COST = cost;
        this.NAME = name;
    }

    /**
     * Returns the needed level for this chassis.
     * @return needed level for this chassis
     */
    public int getLevelRank() {
        return LEVEL_RANK;
    }

    /**
     * Returns the cost of this Chassis.
     * @return cost of this Chassis
     */
    public int getCost() {
        return COST;
    }

    /**
     * Returns name of this Chassis.
     * @return name of this Chassis
     */
    public String getName() {
        return NAME;
    }

    /**
     * @return speed of this Chassis
     */
    public int getSpeed() {
        return SPEED;
    }

    /**
     *
     * @return weight of this chassis
     */
    public int getWeight() {
        return WEIGHT;
    }
}
